package com.hs.dnms.dwr;

import com.hs.auth.model.HsAccount;
import com.hs.core.dwr.DwrHelper;

public class StandardDwr   extends DwrHelper{
	
	/**
	 * 删除标准数据
	 * @param id  标准数据主键
	 */
	public String delStandard(String id){
		String message = "0";
		this.getDbo().update("delete from dnms_standard where id=?", new Object[]{id});
		message = "1";
		return message;
	}
	
	/**
	 * 删除数据挖掘数据
	 * @param id  主键
	 */
	public String delDatamine(String id){
		String message = "0";
		this.getDbo().update("delete from dnms_datamine where id=?", new Object[]{id});
		message = "1";
		return message;
	}
}
